Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing typings for "locals" & created a helper method to get locals #170

Merged
merged 1 commit into from
Aug 31, 2018

Conversation

alehuo
Copy link
Contributor

@alehuo alehuo commented Aug 30, 2018

ResponseOptions seems to be missing typings for "locals", so I added it.

A helper method to get locals has been added to MockResponse. Additional tests have been implemented to make sure that the helper method works.

Tests pass and the code has been linted.

Added helper method _getLocals() for MockResponse.
Added tests for _getLocals() helper method.
@eugef
Copy link
Owner

eugef commented Aug 31, 2018

@alehuo thank you for the PR.

@eugef eugef merged commit 6de6157 into eugef:master Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants